package 数据结构.章节10._168_实现HashMap;

/**
 * @author 挚爱之夕
 * @date 2021/10/16 - 10 - 16 - 17:14
 * @Description: 数据结构.章节10._168_实现HashMap
 * @Version: 1.0
 */
public class Node<K,V>{
    public K key;
    public V value;
    public Node<K,V> next;

    public Node(K key, V value) {
        this.key = key;
        this.value = value;
    }

    @Override
    public String toString() {
        return "Node{" +
                "key=" + key +
                ", value=" + value +
                '}';
    }
}
